package com.party.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * Banner
 * </p>
 *
 * @author taoxiangshan
 * @since 2022-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Banner对象", description="Banner")
public class BannerVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "图片地址 如果是视频类型 该字段视频封面图片url")
    private String url;
    
    @ApiModelProperty(value = "跳转地址")
    private String target;

    @ApiModelProperty(value = "状态 0 下线 1 上线")
    private Integer status;

    @ApiModelProperty(value = "1banner 2middle")
    private Integer position;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "banner 类型 1 是图片 2 视频")
    private Integer type;

    @ApiModelProperty(value = "视频地址")
    private String videoUrl;

    private Date createTime;

    @ApiModelProperty(value = "描述")
    private String dangjianDescribe;
    @ApiModelProperty(value = "月份")
    private String dangjianMonth;
}
